package com.aiobc.business.personalcenter.mapper;

import com.aiobc.business.personalcenter.domain.DataCollectionLog;

import java.util.List;

/**
 * @Author zhangcan
 * @Description: 数据收藏
 * @Date: 2021-10-21 10:00
 */
public interface DataCollectionLogMapper {
    /**
     * 新增数据收藏
     *
     * @param dataCollectionLog
     * @return 结果
     */
    public int insertDataCollectionLog(DataCollectionLog dataCollectionLog);

    /**
     * 修改数据收藏
     *
     * @param dataCollectionLog
     * @return 结果
     */
    public int updateDataCollectionLog(DataCollectionLog dataCollectionLog);
    /**
     * 删除数据收藏
     *
     * @param logId
     * @return 结果
     */
    public int deleteDataCollectionLogById(String  logId);
    /**
     * 批量删除数据收藏
     *
     * @param logIds
     * @return 结果
     */
    public int deleteDataCollectionLogByIds(String [] logIds);

    /**
     * 查询数据收藏
     *
     * @param logId 收藏ID
     * @return 数据收藏
     */
    public DataCollectionLog selectDataCollectionLogById(String logId);
    /**
     * 查询数据收藏列表
     *
     * @param dataCollectionLog
     * @return 数据收藏集合
     */
    public List<DataCollectionLog> selectDataCollectionLogList(DataCollectionLog dataCollectionLog);


}
